package com.book.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.book.model.dto.CampusQueryDTO;
import com.book.model.entity.Campus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 校区 服务类
 * </p>
 *
 * @author auto
 * @since 2025-04-03 10:23:06
 */
public interface CampusService extends IService<Campus> {

    List<Campus> getCampusList();

    Page<Campus> getCampusListByPage(CampusQueryDTO dto);

    Campus addCampus(Campus campus);
}
